package com.gradumate.shared;

public class ContentItem {

	private String base;
	private String type;
	private String title;
	private String summary;
	private String publisher;
	private String contributor;
	private String expirydate;
	private String basPath;
	private String content;
	private String folderID;
	private String contentID;
	
	/**
	 * @return the folderID
	 */
	public String getFolderID() {
		return folderID;
	}

	/**
	 * @param folderID the folderID to set
	 */
	public void setFolderID(String folderID) {
		this.folderID = folderID;
	}

	/**
	 * @return the contentID
	 */
	public String getContentID() {
		return contentID;
	}

	/**
	 * @param contentID the contentID to set
	 */
	public void setContentID(String contentID) {
		this.contentID = contentID;
	}

	/**
	 * Constructor
	 */
	public ContentItem() {
		
	}
	
	/**
	 * @return the base
	 */
	public String getBase() {
		return base;
	}
	
	/**
	 * @param base the base to set
	 */
	public void setBase(String base) {
		this.base = base;
	}
	
	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}
	
	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}
	
	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}
	
	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	
	/**
	 * @return the summary
	 */
	public String getSummary() {
		return summary;
	}
	
	/**
	 * @param summary the summary to set
	 */
	public void setSummary(String summary) {
		this.summary = summary;
	}
	
	/**
	 * @return the publisher
	 */
	public String getPublisher() {
		return publisher;
	}
	
	/**
	 * @param publisher the publisher to set
	 */
	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}
	
	/**
	 * @return the contributor
	 */
	public String getContributor() {
		return contributor;
	}
	
	/**
	 * @param contributor the contributor to set
	 */
	public void setContributor(String contributor) {
		this.contributor = contributor;
	}
	
	/**
	 * @return the expirydate
	 */
	public String getExpirydate() {
		return expirydate;
	}
	
	/**
	 * @param expirydate the expirydate to set
	 */
	public void setExpirydate(String expirydate) {
		this.expirydate = expirydate;
	}
	
	

	/**
	 * 
	 */
	public String toString() {
		String s = "==[ Contentitem output ]==\n";
		s += "base: " + base + "\n";
		s += "type: " + type + "\n";
		s += "title: " + title + "\n";
		s += "summery: " + summary + "\n";
		s += "publisher: " + publisher + "\n";
		s += "contributor: " + contributor + "\n";
		s += "expirydate: " + expirydate + "\n";
		s += "basepath: " + basPath + "\n";
		s += "content: " + content + "\n";
		s += "contentId: " + contentID +"\n";
		s += "folderId: " + folderID + "\n";
		s += "== [////////] ==\n";
		return s;
	}

	/**
	 * @return the basPath
	 */
	public String getBasPath() {
		return basPath;
	}

	/**
	 * @param basPath the basPath to set
	 */
	public void setBasPath(String basPath) {
		this.basPath = basPath;
	}

	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}

	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}
}